//
//  Dog.h
//  JKOCRealm
//
//  Created by 王冲 on 2019/2/26.
//Copyright © 2019年 JK科技有限公司. All rights reserved.
//

#import <Realm/Realm.h>

@interface Dog : RLMObject

/**
  狗的唯一ID
 */
@property int dogId;
    
/**
  狗的名字
 */
@property NSString *dogName;
    
    
@property (readonly) RLMLinkingObjects *owners;

@end

// This protocol enables typed collections. i.e.:
// RLMArray<Dog *><Dog>
RLM_ARRAY_TYPE(Dog)
